<?php
/**
 * Vypisovaci modul pre Acl akciu
 * @author Tomas Srna
 * @package bakalarka
 */

class AclActionWriter implements Writer
{
	public $raw = 0;
	
	public function set($raw)
	{
		$this->raw = $raw;
		return $this;
	}
	
	public function write()
	{
		$write = ($this->raw == 1 ? L::selected()->allow : L::selected()->deny);
		echo $write;
	}
}
